package com.ticket.sass.admin.dto.input.order.group;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author ywb
 * @date 2024-08-13 16:02
 */
@Data
@ApiModel("拼单设置")
public class GroupPurchaseSettingUpdInput {
    @NotNull
    @ApiModelProperty(value = "ID")
    private Long id;
    
    @NotNull(message = "开始时间不能为空")
    @ApiModelProperty(value = "开始时间")
    private LocalDateTime startDate;
    
    @NotNull(message = "结束时间不能为空")
    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endDate;
    
    @NotNull(message = "拼单价不能为空")
    @ApiModelProperty(value = "拼单价")
    private BigDecimal price;
}
